<?php
/**
 * <https://y.st./>
 * Copyright © 2016 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'title' => 'The <code>\\gnupg</code> class',
	'body' => <<<END
<p>
	My old school got back to me, so now I can get into my old account.
	I went through my account to update my email address and remove the telephone number from the account, however, it seems that they do not even allow one to update one&apos;s telephone number.
	I had forgotten about that.
	Back when I attended that school, I had changed my telephone number partway through, but I had been unable to update my telephone number on the account.
	Their system is pretty stupid, really.
	I had also forgotten how slow their website is.
	It majorly slows down the whole Web browser.
	In any case, I will walk into the local community college tomorrow, fill out their paperwork, and pay their fee.
	Once home from there, I will pay my old school to send the community college a copy of my transcript.
</p>
<p>
	It seems that <a href="https://marcwithac.bandcamp.com/">Marc With a C</a> is having troubles with PayPal lately.
	I am not the only one that PayPal torments! For Marc though, PayPal is <a href="https://twitter.com/MarcFi/status/689644415414091776">charging strange amounts for shipping</a> if his customers order on a mobile device.
	Apparently, <a href="https://twitter.com/MarcFi/status/689719620937334784">PayPal is charging some mobile users \$20 $a[USD] for shipping</a>.
	PayPal is horrid.
	I really hope that Bandcamp starts offering a non-PayPal method of payment.
	If and when they add a second payment option, I will hopefully be able to quit using PayPal&apos;s services forever.
</p>
<p>
	I had a chat with a representative of my carrier about getting my carrier-provided device unlocked today.
	I do not typically use that device, as it is too locked down for daily use, but it is useful for experimentation.
	The carrier refused to unlock the device, stating that I needed to wait one more month.
	In all honestly, I was in fact trying to get it unlocked a month early.
	With some carefully-chosen words though, I managed to get the representative to agree to unlock my device a single day early.
	She said that she made a note of that on my account, so if I contact support a day early, I can get it unlocked.
</p>
<p>
	I looked into what is necessary to implement Sitemap support in my spider.
	As it turns out, not a whole lot is needed.
	The <a href="http://www.sitemaps.org/protocol.html">Sitemap protocol</a> defines two types of $a[XML] files, Sitemaps and Sitemap indexes.
	Both of these use <code>&lt;loc/&gt;</code> tags to tell a crawler about other files on the website.
	All I had to do was copy the code that handles <code>&lt;a/&gt;</code> tags and modify it slightly to use <code>&lt;loc/&gt;</code> tags instead.
	My implementation causes the spider to look for both <code>&lt;a/&gt;</code> tags and <code>&lt;loc/&gt;</code> tags on both webpages and Sitemaps alike, but that should be fine.
	In theory, Sitemaps do not contain <code>&lt;a/&gt;</code> tags and webpages do not contain <code>&lt;loc/&gt;</code> tags.
	In practice, most Web developers fail to adhere to standards, but I am building the spider to accept whatever input that it is able to understand.
	As much as I value standards, I am not going to try to penalize sites for not adhering to them.
</p>
<p>
	I finished processing my email.
	I need to stop allowing myself to fall behind.
</p>
<p>
	Cyrus told our mother that he is giving up on his Boy Scout project.
	This really set her off.
	She told Cyrus off for quite a while.
	She said that Cyrus aught to go live with our father, but was also pressuring him to cut all ties with our father.
	She says that she is not kicking him out, though he thought that she was at first.
	Partway through telling off Cyrus, she offered to allow me to go to Portland with Alyssa for a bit, but given the context, it feels like a trap to me.
	Just before, she was claiming that we do not care about her.
	I need to tread carefully.
	Most likely, the &quot;correct&quot; option is to not go.
</p>
<p>
	I set up the wrapper class for the <a href="https://secure.php.net/manual/en/ref.gnupg.php">gnupg_*() functions</a>, as I actually do use those function.
	I must say though that it is nice not having to build wrapper classes that I do not use though.
	However, after building this class, $a[PHP] started claiming that the <a href="https://secure.php.net/manual/en/function.gnupg-init.php"><code>\\gnupg_init()</code> function</a> does not exist.
	Strangely enough, whenever my class is defined, the function does not seem to exist, but whenever my class does not exist, the function does.
	Trying several things, I eventually moved my class into the root namespace for more testing, and I found that I could not &quot;redeclare&quot; the <code>\\gnupg</code> class.
	It turns out that the $a[GNU] Privacy Guard extension defines its own undocumented class! This still does not explain the errors about the function &quot;not existing&quot;, but I deleted my class and now everything works as expected.
	I started to post a note in the $a[PHP] documentation, but after reading the page that they ask all users to read before posting, I found that they prefer that such things not be posted as notes.
	Instead, they want bug reports filed, so I filed a <a href="https://bugs.php.net/bug.php?id=71424">bug report</a> instead.
</p>
<p>
	Our cat has been a bit sluggish lately, and we can tell that she is not feeling well.
	We had assumed that she is simply a bit sick and will recover, but my mother has proposed another theory: perhaps she is dying.
	She has gotten old, and she might not have much time left.
	Even if she is not quite at death&apos;s door, older cats start to lose their energy and become more sedentary.
	According to Wikipedia, <a href="https://en.wikipedia.org/wiki/Cat#Health">cats tend to live about twelve to fifteen years</a>, and she is twelve years old.
	Another possibility is that she is in fact just sick, but that she picked up the disease because we visited that cat shelter and brought something home.
	We all tried to wash up thoroughly, before going anywhere near her, but one of us may not have washed up as well as we should have.
	As odd as it is to say, I think that I will be fine if the cat passes away.
	I know that everything dies, and unlike most people, I feel that when something dies, everything that they once were is gone.
	I do not mean this in just a souls-are-a-myth way, but also that it does not matter how long you live if you still have to die.
	Death, to me, causes life to have no value.
	I do want the cat to continue living and get better because I like her and like having her around, but more than that, I want her to get continue living and get better because I think that the other members of the family will have less guilt on their minds that way.
	There will be less chance of them thinking that perhaps they killed the cat and that things would be different if they had only made sure to clean themselves more thoroughly.
	I suppose that makes me a bit cold, but I do not know any other way to feel; death is unavoidable.
</p>
<p>
	My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
</p>
END
);
